#ifndef YGG_RECTANGLE_HPP
#define YGG_RECTANGLE_HPP

#include "vec2.hpp"
#include "Color.hpp"

namespace ygg
{

class Rectangle
{
public:
	Rectangle(const phx::vec2f &position, const phx::vec2f &size, const phx::Colorf &color = phx::Colorf::White);

	const phx::Colorf& getColor();

	void setColor(const phx::Colorf &color);
	void setPosition(float x, float y);
	void setPosition(const phx::vec2f &pos);
	void setSize(float width, float height);
	void setSize(const phx::vec2f &size);
	void render();
private:
	phx::vec2f mPos, mSize;
	phx::Colorf mColor;
};

}

#endif